package com.wxapp.sale.api.pojo.vo.order;

import com.wxapp.common.constant.base.IBaseRequestPage;
import com.wxapp.sale.api.enums.order.OrderSourceEnum;
import com.wxapp.sale.api.enums.order.OrderStateEnum;
import com.wxapp.sale.api.enums.order.OrderTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author lgl
 * @Description 分页
 * @Datetime 2023/1/3 15:36
 * @Modified By
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QOrderPageVo extends IBaseRequestPage {
    /**
     * 订单编号
     */
    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String code;
    /**
     * 商品名称
     */
    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String goodsName;
    /**
     * 订单类型
     */
    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private OrderTypeEnum type;
    /**
     * 订单状态
     */
    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private OrderStateEnum orderState;

    /**
     * 订单来源
     */
    @Schema(description = "订单来源", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private OrderSourceEnum orderResource;

    /**
     * 支付方式
     */
    @Schema(description = "支付方式", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String payWay;
    /**
     * 类型id
     */
    @Schema(description = "产品类型", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String goodsTypeId;
}
